#ifndef H__DOT__H
#define H__DOT__H

#include "globals.h"
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include "SDL/SDL_ttf.h"

//The dot that will move around on the screen
class Dot
{
    private:
    //The X and Y offsets of the dot
    SDL_Rect box;

    //The velocity of the dot
    int xVel, yVel;

    public:
    //Initializes the variables
    Dot();

    void reset();

    //Takes key presses and adjusts the dot's velocity
    void handle_input();

    //Moves the dot
    void move();

    //Shows the dot on the screen
    void show();

    SDL_Rect getBox();
};

#endif
